import wtforms
from wtforms import Form, BooleanField, TextField, validators

class NodeForm(Form):
    uuid = wtforms.TextField('uuid', [validators.Length(min=4)], description="The fully qualified domain name of the node.")
    name = wtforms.TextField('name', [validators.Length(min=4, max=25)], description="a descriptive node name")
    tree_file = wtforms.TextField('path to tree file', [validators.Length(min=4)], description="the path to the tree file to use for this node")

